package com.cssy.base.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.plat.helper.JqGridHandler;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.plat.util.FirstChineseToEnglish;
import com.plat.util.json.AjaxUtil;
import com.plat.util.json.OutJsonGrid;

@Controller
@RequestMapping("/cssy/base")
public class AjaxUtilController {
	
	@RequestMapping(value = "/converChinese")
	public void converChinese(HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		
		String pvalue=request.getParameter("pvalue");
		AjaxUtil.printJSonStr(response, FirstChineseToEnglish.getConvertStr(pvalue));
	
				
		
	}
}
